<?php
define('WWW_ROOT', dirname(dirname(__FILE__)));
require_once WWW_ROOT.'/framework/base.php';
require_once WWW_ROOT.'/common/WebGateway.php';

//template
define('TEMPLATE_PATH', WWW_ROOT.'/template');
define('TEMPLATE', 'default');
define('File_EXTENSION', '.tpl');

//front end
define('WEB_ROOT', 'http://'.$_SERVER['HTTP_HOST']);
define('JS_PATH', WEB_ROOT.'/frontend/js');
define('CSS_PATH', WEB_ROOT.'/frontend/css');
define('IMAGE_PATH', WEB_ROOT.'/frontend/image');

//sina weibo config
define( "WB_AKEY" , '1612748360' );
define( "WB_SKEY" , '7e1db8b505ecae46cf57099159e02a42' );
define( "CANVAS_PAGE" , "http://apps.weibo.com/qunzhangbu" );
